home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / -PORTING < prev    next >
Text File  |  1988-08-13  |  1KB  |  41 lines

  1.                              DV-GLUE v1.00
  2.                         Porting Considerations
  3.                         ----------------------
  4.  
  5. A large number of functions in this package use either inline assembly or
  6. register pseudovariables (i.e. _AX, _BX, etc).  These functions will pose the
  7. greatest difficulties during porting.
  8.  
  9. Files using inline assembly code:
  10.         TVINT15.C
  11.         TVINT15I.C
  12.         TVINT15W.C
  13.         TVINT15N.C
  14.         TVTNEW.C
  15.         TVJNEW.C
  16. The above need to be rewritten to conform to the target compiler's inline
  17. assembly, or converted entirely to assembly code.
  18.  
  19. Files using register pseudovariables:
  20.         DVINIT.C
  21.         DVMEM.C
  22.         many others
  23. The above need to be rewritten to use the int86() or int86x() functions, as
  24. appropriate.
  25.  
  26. Files using pseudovariables which have been #ifdef'd to allow use of int86():
  27.         DVAPI.C
  28.         DVSHADOW.C
  29.         DVVER.C
  30. These should not need rewriting.
  31.  
  32. Except for TVWPRNTF.C (which uses an undocumented TurboC library function),
  33. all other files should compile as-is.
  34.  
  35. If your compiler supports the "pascal" keyword, uncomment the
  36.         #define PASCAL
  37. line in TVAPI.H.
  38. If your compiler does not support "cdecl", add
  39.         #define cdecl
  40. to TVAPI.H
  41.